/**
 * @description 模拟请求
 * @author Ruichen
 * @date 2024-10-16 15:13:07
 * @param {Number} timeout 请求时间戳
 * @param {Object} data 返回的数据
 * @returns Promise
 */
export const mockRequest = (timeout, data) => {
  return new Promise((resolve, reject) => {
    setTimeout(() => {
      resolve(data)
    }, timeout)
  })
}
